package com.ccys.db.mapper;

import com.ccys.db.entity.TblBookingSummary;
import com.ccys.db.vo.doctor.consultStage.GetPastConsultationsDetailVo;
import com.ccys.db.vo.doctor.consultStage.GetTBTCConsultingPatientVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/29
*/
public interface TblBookingSummaryMapper extends Mapper<TblBookingSummary>, MySqlMapper<TblBookingSummary> {
    TblBookingSummary findByBookingId(@Param("bookingId") String bookingId);

    List<GetTBTCConsultingPatientVo.BookingVo> getTBTCConsultingPatient(String doctorId,String timeSlot,String type);

    GetPastConsultationsDetailVo getPastConsultationsDetailVo(String bookingId);

    void updateRequestUploadFileTrueByBookingId(@Param("bookingId") String bookingId);

    void updateDiagnosisAllowPatientToClaimByBookingId(@Param("diagnosisAllowPatientToClaim") Integer diagnosisAllowPatientToClaim,@Param("bookingId") String bookingId);
}
